package com.woniuxy.charin.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.woniuxy.charin.enumeration.EventStatus;
import lombok.Data;

/**
 * @TableName event
 */
@TableName(value ="event")
@Data
public class Event implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer eventType;
    @TableField(fill = FieldFill.INSERT)
    private Date created;

    private Long chargingPileId;

    @TableField(exist = false)
    private String stationName; //充电站名称
    @TableField(exist = false)
    private String pileCode; //充电桩编号
    @TableField(exist = false)
    private String address; //地址位置

    private String description;
    private Integer priority;

    private String location;
    private String contacts;
    private String contactNumber;

    private Long currentProcessorsId;
    private Integer currentStatus;
    private String returnCause;

    private static final long serialVersionUID = 1L;
}